import React from 'react'
import Item from "./Item"

export default function CommentView ({ data }) {
  return (
    <div style={{ padding: "15px" }}>
      {
        data.map((ele, index) => {
          return <Item key={index} data={ele}></Item>
        })
      }
    </div>
  )
}
